home *** CD-ROM | disk | FTP | other *** search
- package Code.LIB
- {
- import Code.LIB.animators._do643;
- import flash.events.Event;
-
- public class _gt710 extends _dk430
- {
- private var iAnimators:Array;
-
- protected var iITimer:int = 0;
-
- private var prvisible:Boolean;
-
- public var isShowing:Boolean = false;
-
- private var isHiding:Boolean = false;
-
- protected var state:int;
-
- private const alfaFade:Number = 0.2;
-
- public function _gt710(param1:Array = null)
- {
- isHiding = false;
- isShowing = false;
- iITimer = 0;
- super();
- this.alpha = 0;
- iAnimators = new Array();
- prvisible = true;
- if(param1 != null)
- {
- _ir266(param1);
- }
- this.show();
- }
-
- public function _up561(param1:Array) : void
- {
- while(this.numChildren != 0)
- {
- this.removeChildAt(0);
- }
- _ir266(param1);
- }
-
- public function get _hy116() : Boolean
- {
- return prvisible;
- }
-
- public function get _fl746() : Boolean
- {
- return this.isHiding || this.isShowing;
- }
-
- override public function _dx150() : void
- {
- super._dx150();
- }
-
- public function hide() : void
- {
- this.isShowing = false;
- this.isHiding = true;
- }
-
- private function _ir266(param1:Array) : void
- {
- var _loc2_:uint = 0;
- var _loc3_:* = undefined;
- var _loc4_:int = 0;
- _loc2_ = 0;
- while(_loc2_ < param1.length)
- {
- _loc3_ = param1[_loc2_][0](param1[_loc2_]);
- _loc4_ = param1[_loc2_][(param1[_loc2_] as Array).length - 4] as int;
- if(param1[_loc2_][(param1[_loc2_] as Array).length - 2] != null)
- {
- this[param1[_loc2_][(param1[_loc2_] as Array).length - 2]] = _loc3_;
- }
- _loc3_["_vq458"] += _loc4_;
- _loc3_["_vg471"] += int(param1[_loc2_][param1[_loc2_].length - 3]);
- if(!param1[_loc2_][(param1[_loc2_] as Array).length - 1])
- {
- _loc3_["visible"] = false;
- }
- this.addChild(_loc3_);
- _loc2_++;
- }
- }
-
- override public function onEnterFrame(param1:Event) : void
- {
- var _loc2_:int = 0;
- var _loc3_:_do643 = null;
- if(isShowing)
- {
- this.alpha += alfaFade;
- if(this.alpha >= 1)
- {
- this.isShowing = false;
- this.alpha = 1;
- }
- }
- if(isHiding)
- {
- this.alpha -= alfaFade;
- if(this.alpha <= 0)
- {
- this.isHiding = false;
- this.alpha = 0;
- this.prvisible = false;
- }
- }
- _loc2_ = 0;
- while(_loc2_ < iAnimators.length)
- {
- _loc3_ = iAnimators[_loc2_];
- _loc3_.onEnterFrame();
- if(_loc3_._kx70())
- {
- iAnimators.splice(_loc2_,1);
- _loc2_--;
- }
- _loc2_++;
- }
- }
-
- public function _wk598(param1:_do643) : void
- {
- iAnimators.push(param1);
- }
-
- public function show() : void
- {
- this.isShowing = true;
- this.isHiding = false;
- this.prvisible = true;
- }
- }
- }
-
-